<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of testController
 *
 * @author Sammy Guergachi <sguergachi at gmail.com>
 */
class testController extends ControllerBase{
    
    public function testAction(){
        Get:{
            $post=$this->request->get();
            var_dump($post);
            if(isset($post['token'])){
                goto re;
            }
            
            token :{
            echo 'this is token';
            }
        }
        re:
        exit;
        
    }
}
